import request from '@/utils/request'
// 获取符合船舶列表
export function getShipList(params) {
  return request({
    url: `/yxdd/ship/review/page?page=`+ params.page+'&size='+ params.size,
    method: 'post',
    data:params.data
  })
}
// 根据附件id获取图片url

export function getUrlByFileId(fileIds){
  return request({
    url: `/yxdd/file/fileIdGetUrl/${fileIds}`,
    method: 'post'
  })
}

// 传入fhid , 查询上次复核详情? 2023-8-8
// ship/review/detail  data:{ fhid: 'aaaaaaaaaaaaaaaaaaa'}
export function getLastFuheDetail(data){
  return request({
    url: `/yxdd/ship/review/detail`,
    method: 'post',
    data
  })
}
